#include "straux.h"

int strcasecmp(const char* s1, const char* s2) {
	while (tolower(*s1) == tolower(*s2)) {
		if (*s1++ == '\0')
			return 0;
		s2++;
	}

	return (tolower(*s1) - tolower(*s2));
}
